package avicit.bdp.dds.dao.entity;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.Id;
import io.swagger.annotations.ApiModel;

import javax.persistence.Column;
import javax.persistence.Table;

@ApiModel(value = "ProjectDatasource", description = "bdp_dds_r_project_datasource")
@Table(name = "bdp_dds_r_project_datasource")
public class ProjectDatasource extends BaseDTO {
    /**
     * id
     */
    @Id
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    @Column(name = "project_id")
    private String projectId;

    @Column(name = "datasource_id")
    private String datasourceId;

    @Column(name = "type_id")
    private String typeId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }


    public String getDatasourceId() {
        return datasourceId;
    }

    public void setDatasourceId(String datasourceId) {
        this.datasourceId = datasourceId;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    @Override
    public String toString() {
        return "ProjectUser{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", datasourceId=" + datasourceId +
                ", typeId='" + typeId + '\'' +
                '}';
    }
}
